package org.demo.honor.repository;

import java.util.List;
import java.util.Optional;

import org.demo.honor.pojo.entity.OrderEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface OrderRepository extends JpaRepository<OrderEntity, Integer> {

    Optional<OrderEntity> findByPaymentId(String paymentId);
}
